using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace netDefect.admin
{
    public partial class Entities : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if(!Page.IsPostBack) entityList.SelectedIndex = 0;
        }

        protected void entityList_SelectedIndexChanged(object sender, EventArgs e)
        {
            //switch (entityList.SelectedIndex)
            //{
            //    case 1:
            //        entityLabel.Text = "Issue Priority";
            //        detailsLabel.Text = "Issue Priority";
            //        break;
            //    case 2:
            //        entityLabel.Text = "Issue Severity";
            //        detailsLabel.Text = "Issue Severity";
            //        break;
            //    case 3:
            //        entityLabel.Text = "Issue Status";
            //        detailsLabel.Text = "Issue Status";
            //        break;
            //    case 4:
            //        entityLabel.Text = "Issue Resolution";
            //        detailsLabel.Text = "Issue Resolution";
            //        break;
            //    default:
            //        break;
            //}
        }
    }
}
